Labor rights experts and workers praised the passage of a first-of-its-kind bill in California aimed at empowering warehouse employees at Amazon and other companies that use algorithms to enforce quotas — often pushing them to skip breaks and work unsafely. The bill would require companies to disclose to the government and to their employees the quotas that are used to track productivity, prohibit penalties for “time off-task,” and bar companies from retaliating against workers who complain about the metrics used. Workers would also be empowered to sue companies that continue to use quotas if they keep employees from taking bathroom breaks and following safety guidelines.